<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<div class="topheader" th:fragment="top">
    <div class="left">
        <h1 class="logo">聪慧科技<span>人力管理</span></h1>
        <span class="slogan">人力资源管理系统</span>

        <div class="search">
            <form action="" method="post">
                <input type="text" name="keyword" id="keyword" value="Enter keyword(s)"/>
                <button class="submitbutton"></button>
            </form>
        </div><!--search-->

        <br clear="all"/>

    </div><!--left-->

    <div class="right">
        <div class="userinfo">
            <img th:src="@{../images/thumbs/avatar.png}" alt=""/>
            <span>Juan Dela Cruz</span>
        </div><!--userinfo-->

        <div class="userinfodrop">
            <div class="avatar">
                <a href=""><img th:src="@{../images/thumbs/avatarbig.png}" alt=""/></a>
                <div class="changetheme">
                    Change theme: <br/>
                    <a class="default"></a>
                    <a class="blueline"></a>
                    <a class="greenline"></a>
                    <a class="contrast"></a>
                    <a class="custombg"></a>
                </div>
            </div><!--avatar-->
            <div class="userdata">
                <h4>Juan Dela Cruz</h4>
                <span class="email">youremail@yourdomain.com</span>
                <ul>
                    <li><a th:href="@{../editprofile.html}">Edit Profile</a></li>
                    <li><a th:href="@{../accountsettings.html}">Account Settings</a></li>
                    <li><a th:href="@{../help.html}">帮助</a></li>
                    <li><a th:href="@{/logout}">退出登录</a></li>
                </ul>
            </div><!--userdata-->
        </div><!--userinfodrop-->
    </div><!--right-->
</div><!--topheader-->

<div class="header" th:fragment="top">
    <ul class="headermenu" th:if="${session.user.manager == '是' or session.user.manager == '否'}">
        <li th:if="${session.user.manager == '是'}"><a th:href="@{/employee/userAdd}"><span
                class="icon icon-flatscreen"></span>人员管理</a></li>
        <li><a th:href="@{/institution/rewardAdd}"><span class="icon icon-pencil"></span>奖惩管理</a></li>
        <li th:if="${session.user.manager == '是'}"><a th:href="@{/job/CandidateAdd}"><span
                class="icon icon-message"></span>招聘管理</a></li>
        <li th:if="${session.user.manager == '是'}"><a th:href="@{/educate/trainingchangeADD}"><span
                class="icon icon-chart"></span>培训管理</a></li>
        <li><a th:href="@{/stipend/moneyAdd}"><span class="icon icon-chart"></span>薪金管理</a></li>
    </ul>


    <div class="headerwidget">
        <div class="earnings">
            <div class="one_half">
                <h4>Today's Earnings</h4>
                <h2>$640.01</h2>
            </div><!--one_half-->
            <div class="one_half last alignright">
                <h4>Current Rate</h4>
                <h2>53%</h2>
            </div><!--one_half last-->
        </div><!--earnings-->
    </div><!--headerwidget-->

</div><!--header-->
</body>
</html>